﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using EFCore.Sharding.DataAnnotations;
using EFCore.Sharding;

namespace Treca.WebEx.Entity
{
    /// <summary>
    /// 查询模板
    /// </summary>
    [Table("base_searchplan")]
    [LogicDelete("IsDelete", "0")]
    public class base_searchplan:BaseEntity
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 搜索计划名称
        /// </summary>
        public String searchplanname { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public String userid { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        public String roleid { get; set; }

        /// <summary>
        /// 查询条件
        /// </summary>
        public String searchinfo { get; set; }

        /// <summary>
        /// 页面
        /// </summary>
        public String url { get; set; }

        /// <summary>
        /// 删除标识
        /// </summary>
        public String IsDelete { get; set; }="1";

        /// <summary>
        /// 描述
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 使用状态
        /// </summary>
        public String StatusFlag { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreateOperator { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public String ModifyOperator { get; set; }

        /// <summary>
        /// 是否设置为默认
        /// </summary>
        public String isdefault { get; set; }="0";

    }
}